<?php
include_once '../inc/config.inc.php';
include_once '../inc/mysql.inc.php';
$link=connect();

if(isset($_GET['id'])) {
    $id = intval($_GET['id']);
    $query = "DELETE FROM member WHERE id=$id";
    execute($link, $query);
}

header("Location: simpleTable.php");
exit;
?>
